package com.atguigu.gmall.oms.vo;


import com.atguigu.gmall.ums.entity.UserAddressEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class OrderSubmitVo {
    /**
     * {orderToken: "1377239319051329538",…}
     * address: {id: 1, userId: 4, name: "柳岩", phone: "13812345678", postCode: "200122", province: "上海", city: "上海市",…}
     * bounds: 1000
     * deliveryCompany: "顺丰快递"
     * items: [{skuId: 9,…}, {skuId: 10,…}]
     * orderToken: "1377239319051329538"
     * payType: 1
     * totalPrice: 88400
     */
    // 用户选中的收获地址
    private UserAddressEntity address;
    // 购买积分
    private Integer bounds;
    // 配送方式、快递公司
    private String deliveryCompany;
    // 送货清单 订单详情
    private List<OrderItemVo>items;
    // 防重的唯一标识
    private String orderToken;
    // 支付方式
    private Integer payType;
    // 总价：验总价
    private BigDecimal totalPrice;
}
